package com.zbf4.web;

import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/5/20  15:50
 * 描述:
 */
@RestController
public class TestAdminClientController {

    @RequestMapping("test001")
    @Async("threadPoolExecutor")
    public Object test001(){

        System.out.println("==========test001==========");

      return "ok";

    }

    @RequestMapping("test002")
    public void test002(){

    }

}
